package design.onekey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import design.onekey.base.BaseEntity;
import design.onekey.model.SysFunction;

import java.util.List;

/**
* @Description: SysFunction服务接口
* @author
* @date 2020-06-05 04:03:04
* @version V1.0
 */
public interface ISysFunctionService extends IService<SysFunction>{


	List<SysFunction> getFunctionsByType(int type);

	/**
	 * @Title: updatePermission
	 * @Description: 动态更新权限，不需要重启服务
	 * @return
	 * @author blcloak
	 * @date 2020-06-12 03:25:11
	 */
	BaseEntity updatePermission();

	List<SysFunction> getAllFunctions();

	List<SysFunction> getFunctionsByRole(Long roleId);
}
